package com.alstudio.view.tableview;

import android.view.View;

public class BasicItem implements IListItem {

	private boolean mClickable = true;
	private int mDrawable = -1;
	private String mTitle;
	private String mSubtitle;
	private int mColor = -1;

	private int segmentLayoutId = -1;

	private View segmentView;

	private boolean isSegeMentView;

	private String CountNum;

	private int mItemCountColor = -1;
	private int itemCountDrawable = -1;

	private String miniTitle;
	private int miniTtileColor = -1;

	/**
	 * 
	 */
	public BasicItem(int segmentLayoutId) {
		// TODO Auto-generated constructor stub
		this.segmentLayoutId = segmentLayoutId;
		isSegeMentView = true;
		mClickable = false;
	}

	/**
	 * 
	 */
	public BasicItem(View segmentView) {
		// TODO Auto-generated constructor stub
		this.segmentView = segmentView;
		isSegeMentView = true;
	}

	public BasicItem(String _title) {
		this.mTitle = _title;
	}

	public BasicItem(String _title, String _subtitle) {
		this.mTitle = _title;
		this.mSubtitle = _subtitle;
	}

	public BasicItem(String _title, String _subtitle, int _color) {
		this.mTitle = _title;
		this.mSubtitle = _subtitle;
		this.mColor = _color;
	}

	public BasicItem(String _title, String _subtitle, boolean _clickable) {
		this.mTitle = _title;
		this.mSubtitle = _subtitle;
		this.mClickable = _clickable;
	}

	public BasicItem(int _drawable, String _title, String _subtitle) {
		this.mDrawable = _drawable;
		this.mTitle = _title;
		this.mSubtitle = _subtitle;
	}

	public BasicItem(int _drawable, String _title, String _subtitle, int _color) {
		this.mDrawable = _drawable;
		this.mTitle = _title;
		this.mSubtitle = _subtitle;
		this.mColor = _color;
	}

	public int getDrawable() {
		return mDrawable;
	}

	public void setDrawable(int drawable) {
		this.mDrawable = drawable;
	}

	public String getTitle() {
		return mTitle;
	}

	public void setTitle(String title) {
		this.mTitle = title;
	}

	public String getSubtitle() {
		return mSubtitle;
	}

	public void setSubtitle(String summary) {
		this.mSubtitle = summary;
	}

	public int getColor() {
		return mColor;
	}

	public void setColor(int mColor) {
		this.mColor = mColor;
	}

	@Override
	public boolean isClickable() {
		return mClickable;
	}

	@Override
	public void setClickable(boolean clickable) {
		mClickable = clickable;
	}

	public int getSegmentLayoutId() {
		return segmentLayoutId;
	}

	public void setSegmentLayoutId(int segmentLayoutId) {
		this.segmentLayoutId = segmentLayoutId;
	}

	public View getSegmentView() {
		return segmentView;
	}

	public void setSegmentView(View segmentView) {
		this.segmentView = segmentView;
	}

	public boolean isSegeMentView() {
		return isSegeMentView;
	}

	public void setSegeMentView(boolean isSegeMentView) {
		this.isSegeMentView = isSegeMentView;
	}

	/**
	 * @param countNum
	 *            the countNum to set
	 */
	public void setCountNum(String countNum) {
		CountNum = countNum;
	}

	/**
	 * @return the countNum
	 */
	public String getCountNum() {
		return CountNum;
	}

	/**
	 * @param mItemCountColor
	 *            the mItemCountColor to set
	 */
	public void setItemCountColor(int mItemCountColor) {
		this.mItemCountColor = mItemCountColor;
	}

	/**
	 * @return the mItemCountColor
	 */
	public int getItemCountColor() {
		return mItemCountColor;
	}

	/**
	 * @return the itemCountDrawable
	 */
	public int getItemCountDrawable() {
		return itemCountDrawable;
	}

	/**
	 * @param itemCountDrawable the itemCountDrawable to set
	 */
	public void setItemCountDrawable(int itemCountDrawable) {
		this.itemCountDrawable = itemCountDrawable;
	}

	/**
	 * @return the miniTitle
	 */
	public String getMiniTitle() {
		return miniTitle;
	}

	/**
	 * @param miniTitle the miniTitle to set
	 */
	public void setMiniTitle(String miniTitle) {
		this.miniTitle = miniTitle;
	}

	/**
	 * @return the miniTtileColor
	 */
	public int getMiniTtileColor() {
		return miniTtileColor;
	}

	/**
	 * @param miniTtileColor the miniTtileColor to set
	 */
	public void setMiniTtileColor(int miniTtileColor) {
		this.miniTtileColor = miniTtileColor;
	}

	
	
}
